using System.Windows;
using System.Windows.Controls;
using Tryit.ViewModels;

namespace Tryit.Views
{
    public partial class CompositionAdjustmentView : Page
    {
        private CompositionAdjustmentViewModel _viewModel;

        public CompositionAdjustmentView()
        {
            InitializeComponent();
            _viewModel = (CompositionAdjustmentViewModel)DataContext;
        }

        private void TemplateComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (_viewModel != null)
            {
                _viewModel.LoadTemplateData();
            }
        }
    }
} 